const mongoose = require("mongoose");
const schema = new mongoose.Schema({
  name: { type: String, default: "默认" },
  time: { type: String },
  parent: { type: mongoose.SchemaTypes.ObjectId, ref: "Category" }
})

module.exports = mongoose.model("Category", schema)